﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace ifunction.Fiddler.Model
{
    /// <summary>
    /// Class RequestLogCriteria.
    /// </summary>
    [DataContract]
    public class RequestLogCriteria
    {
        /// <summary>
        /// Gets or sets the package key.
        /// </summary>
        /// <value>The package key.</value>
        [DataMember]
        public Guid? PackageKey { get; set; }

        /// <summary>
        /// Gets or sets the target URL.
        /// </summary>
        /// <value>The target URL.</value>
        [DataMember]
        public string TargetUrl { get; set; }

        /// <summary>
        /// Gets or sets the created stamp.
        /// </summary>
        /// <value>The created stamp.</value>
        [DataMember]
        public DateTime? FromStamp { get; set; }

        /// <summary>
        /// Gets or sets the response code.
        /// </summary>
        /// <value>The response code.</value>
        [DataMember]
        public string ResponseCode { get; set; }

        /// <summary>
        /// Gets or sets the automatic stamp.
        /// </summary>
        /// <value>The automatic stamp.</value>
        [DataMember]
        public DateTime? ToStamp { get; set; }

        /// <summary>
        /// Gets or sets the count.
        /// </summary>
        /// <value>The count.</value>
        [DataMember]
        public int Count { get; set; }
    }
}
